package stream;

import java.util.ArrayList;
import java.util.List;

public class Test {

	public static void main(String[] args) throws Exception {

		List<String> all = new ArrayList<String>();
		all.add("hello");
		all.add("world");
		all.stream().forEach(System.out::println);
//		long count = all.stream().filter(v -> v.equals("hello")).count();

	}

}